html {
  font-size: 14px;
}

input,
button,
select {
  min-width: 28px;
  padding: 2px 6px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  margin-left: 4px;
  margin-right: 4px;
}

button {
  cursor: pointer;
}

button.active {
  color: red;
}

.w80 {
  width: 80px;
}

.mytable {
  width: 800px;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}

.mytable thead tr {
  background-color: #f0f0f0;
}

.mytable th,
.mytable td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

.mytable tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.mytable th.sort {
  position: relative;
  cursor: pointer;
}

.mytable th.sort::before,
.mytable th.sort::after {
  position: absolute;
  font-size: 8px;
  right: 8px;
}

.mytable th.sort::before {
  content: "▲";
  top: 8px;
}

.mytable th.sort::after {
  content: "▼";
  bottom: 8px;
}

.mytable th.sort.asc::before,
.mytable th.sort.desc::after {
  color: red;
}

#pager button,
#pager select {
  margin-left: 4px;
  margin-right: 4px;
}

.dialog {
  position: fixed;
  padding: 20px;
  background-color: white;
  box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .06), 0px 8px 20px rgba(0, 0, 0, .12);
  border-radius: 6px;
  left: 50%;
  transform: translateX(-50%);
  transition: top .3s ease, opacity .3s ease, visibility .3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
}

.dialog.opened {
  opacity: 1;
  visibility: visible;
  top: 20vh !important;
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  margin: 0;
  cursor: pointer;
}

.dialog-body input {
  width: 100%;
}